﻿<div style="height:8px">&nbsp;</div><!-- spacer -->

<!-- Addresses -->
	<table width="700" border="0" cellpadding="12" cellspacing="0" align="center" bgcolor="#ffffff">
		<tr>
			<td width="50%" align="left" valign="top" style="line-height:100%">
			<h4>[<tag type="valueof" resourcekey="Notification.BillingAddress" />]</h4>
			
	        <div>[<tag type='valueof' xpath='genxml/billaddress/genxml/textbox/company' />]</div>
	        <div>[<tag type='valueof' xpath='genxml/billaddress/genxml/textbox/unit' />]</div>
	        <div>[<tag type='valueof' xpath='genxml/billaddress/genxml/textbox/street' />]</div>
	        <div>[<tag type='valueof' xpath='genxml/billaddress/genxml/textbox/city' />]</div>
	        <div>[<tag type='valueof' xpath='genxml/billaddress/genxml/textbox/region' />]</div>
	        <div>[<tag type='valueof' xpath='genxml/billaddress/genxml/textbox/postalcode' />]</div>
	        <div>[<tag type='valueof' xpath='genxml/billaddress/genxml/dropdownlist/country/@selectedtext' />]</div>
			<div><b>[<tag type='valueof' xpath='genxml/billaddress/genxml/textbox/firstname' />] [<tag type='valueof' xpath='genxml/billaddress/genxml/textbox/lastname' />]</b></div>
	        <div>[<tag type='valueof' xpath='genxml/billaddress/genxml/textbox/telephone' />]</div>
			<div><a href="mailto:[<tag type='valueof' xpath='genxml/billaddress/genxml/textbox/email' />]">[<tag type='valueof' xpath='genxml/billaddress/genxml/textbox/email' />]</a></div>
			<div><a href="mailto:[<tag type='valueof' xpath='genxml/extrainfo/genxml/textbox/cartemailaddress' />]">[<tag type='valueof' xpath='genxml/extrainfo/genxml/textbox/cartemailaddress' />]</a></div>
			</td>
			<td width="50%" align="left" valign="top" style="line-height:100%">
			
	    [<tag type="if" xpath="genxml/pickuppointaddr" testvalue="" display="{ON}" />]<!-- Hide shipping address if shipping provider generates a pickup location -->

      		[<tag type="if" xpath="genxml/extrainfo/genxml/radiobuttonlist/rblshippingoptions" testvalue="2" display="{ON}" />]
			<h4>[<tag type="valueof" resourcekey="Notification.ShippingAddress" />]</h4>
	        <div>[<tag type='valueof' xpath='genxml/shipaddress/genxml/textbox/company' />]</div>
	        <div>[<tag type='valueof' xpath='genxml/shipaddress/genxml/textbox/unit' />]</div>
	        <div>[<tag type='valueof' xpath='genxml/shipaddress/genxml/textbox/street' />]</div>
	        <div>[<tag type='valueof' xpath='genxml/shipaddress/genxml/textbox/city' />]</div>
	        <div>[<tag type='valueof' xpath='genxml/shipaddress/genxml/textbox/region' />]</div>
	        <div>[<tag type='valueof' xpath='genxml/shipaddress/genxml/textbox/postalcode' />]</div>
	        <div>[<tag type='valueof' xpath='genxml/shipaddress/genxml/dropdownlist/country/@selectedtext' />]</div>
			<div><b>[<tag type='valueof' xpath='genxml/shipaddress/genxml/textbox/firstname' />] [<tag type='valueof' xpath='genxml/shipaddress/genxml/textbox/lastname' />]</b></div>
	        <div>[<tag type='valueof' xpath='genxml/shipaddress/genxml/textbox/telephone' />]</div>
			<div><a href="mailto:[<tag type='valueof' xpath='genxml/shipaddress/genxml/textbox/email' />]">[<tag type='valueof' xpath='genxml/shipaddress/genxml/textbox/email' />]</a></div>
			[<tag type="endif" />]
                
            [<tag type="if" xpath="genxml/extrainfo/genxml/radiobuttonlist/rblshippingoptions" testvalue="1" display="{ON}" />]
			<h4>[<tag type="valueof" resourcekey="Notification.ShippingAddress" />]</h4>
	        <div>[<tag type='valueof' xpath='genxml/billaddress/genxml/textbox/company' />]</div>
	        <div>[<tag type='valueof' xpath='genxml/billaddress/genxml/textbox/unit' />]</div>
	        <div>[<tag type='valueof' xpath='genxml/billaddress/genxml/textbox/street' />]</div>
	        <div>[<tag type='valueof' xpath='genxml/billaddress/genxml/textbox/city' />]</div>
	        <div>[<tag type='valueof' xpath='genxml/billaddress/genxml/textbox/region' />]</div>
	        <div>[<tag type='valueof' xpath='genxml/billaddress/genxml/textbox/postalcode' />]</div>
	        <div>[<tag type='valueof' xpath='genxml/billaddress/genxml/dropdownlist/country/@selectedtext' />]</div>
			<div><b>[<tag type='valueof' xpath='genxml/billaddress/genxml/textbox/firstname' />] [<tag type='valueof' xpath='genxml/billaddress/genxml/textbox/lastname' />]</b></div>
	        <div>[<tag type='valueof' xpath='genxml/billaddress/genxml/textbox/telephone' />]</div>
			<div><a href="mailto:[<tag type='valueof' xpath='genxml/billaddress/genxml/textbox/email' />]">[<tag type='valueof' xpath='genxml/billaddress/genxml/textbox/email' />]</a></div>
            [<tag type="endif" />]
            
        [<tag type="endif" />]

		[<tag type="if" xpath="genxml/pickuppointaddr" testvalue="" display="{OFF}" />]<!-- Show pickup location if present -->
			<h4>[<tag type="valueof" resourcekey="General.PickupAddress" />]</h4>
			<div>[<tag type="valueof" xpath="genxml/pickuppointaddr" />]</div>
			<div><b>[<tag type="valueof" resourcekey="General.PickupReference" />]</b></div>
			<div>[<tag type="valueof" xpath="genxml/pickuppointref" />]</div>
		[<tag type="endif" />]

	    [<tag type="if" xpath="genxml/extrainfo/genxml/radiobuttonlist/rblshippingoptions" testvalue="3" display="{ON}" />]<!-- Show store collection message if selected -->
			<h4>[<tag type="valueof" xpath="genxml/extrainfo/genxml/radiobuttonlist/rblshippingoptions/@selectedtext" />]</h4>
		    <div>[<tag type="valueof" resourcekey="Notification.pickupmessage" />]</div>
	    [<tag type="endif" />]

			</td>
		</tr>
	</table>